home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
internet
/
yam_i_dodatki
/
yammailcheck
/
install
< prev
next >
Wrap
Text File
|
1997-03-22
|
3KB
|
61 lines
; MailCheck Installer script.
;
; $VER: V1.2 (21.03.97)
Failat 25
RequestChoice >ENV:Answer "MailCheck Version 1.2" "Are you ready to install?" "Yes" "No"
If $Answer EQ "1"
Copy MailCheck S: QUIET CLONE
Copy SampleCheck S: QUIET CLONE
Copy LastCheck S: QUIET CLONE
Copy MailCheck.rexx Rexx: QUIET CLONE
Echo " " >>s:user-startup
Echo ";BEGIN MailCheck" >>s:user-startup
Assign >nil: Miami: EXISTS
IF Warn
RequestChoice >ENV:Answer "MailCheck Version 1.2" "I cannot find an assign for Miami!*n*n Show me where it is..." "Okay"
RequestFile >ENV:MiamiPath TITLE="Location of Miami" NOICONS DRAWERSONLY
Echo Assign Miami: $MiamiPath >>s:user-startup
Endif
Assign >nil: YAM: EXISTS
IF Warn
RequestChoice >ENV:Answer "MailCheck Version 1.2" "I cannot find an assign for YAM!*n*n Show me where it is..." "Okay"
RequestFile >ENV:YAMPath TITLE="Location of YAM" NOICONS DRAWERSONLY
Echo Assign YAM: $YAMPath >>s:user-startup
Endif
RequestFile >ENV:Serial TITLE="Select your serial device driver" NOICONS DRAWER="Devs:" PATTERN="#?.device"
Echo SetEnv MCSerial $Serial >>s:user-startup
Echo "SetEnv MCStep 0" >>s:user-startup
RequestChoice >ENV:Answer "MailCheck Version 1.2" "Do you wish to play a sample*n when new mail arrives?" "Yes" "No"
If $Answer EQ "1"
Echo "SetEnv MCPlay 1" >>s:user-startup
If Not Exists S:MCSamples
MakeDir S:MCSamples
Copy Samples.info S:MCSamples.info
EndIf
Copy Samples/you_have_a_mailmessage.wav s:MCSamples QUIET CLONE
SetEnv Sample "S:MCSamples/you_have_a_mailmessage.wav"
RequestFile >ENV:Sample TITLE="Select a sample" NOICONS DRAWER="S:MCSamples" PATTERN="#?.(IFF|8SVX|WAV|VOC|AU|MAUD|AIFF)"
Echo SetEnv MCSample $Sample >>s:user-startup
Else
Echo "SetEnv MCPlay 0" >>s:user-startup
Echo "SetEnv MCSample NoSample! ; <--- Insert sample name here" >>s:user-startup
EndIf
Echo ";END MailCheck" >>s:user-startup
Echo " " >>s:user-startup
Date >EnvArc:MCDate
Echo 0 >EnvArc:MCMail
RequestChoice >ENV:Answer "MailCheck Version 1.2" "Do you wish to install the docs?" "Yes" "No"
If $Answer EQ "1"
RequestFile >ENV:Docs TITLE="Destination path for docs" NOICONS DRAWERSONLY
Copy MailCheck.gui#? $Docs QUIET CLONE
Copy Mail2RW.rexx rexx: QUIET CLONE
Copy GetMCFiles.rexx rexx: QUIET CLONE
EndIf
RequestChoice >ENV:Answer "MailCheck Version 1.2" " Installation complete. *n*nDon't forget to reboot first!" "Okay"
Else
RequestChoice >ENV:Answer "MailCheck Version 1.2" "Maybe another time...?" "Okay"
EndIf